export interface ILanhuResult {
    code:   string;
    msg:    string;
    result: ILanhuResultData;
}

export interface ILanhuResultData {
    batch:            string;
    category_cover:   any[];
    create_time:      Date;
    dds_jump_status:  number;
    group:            any[];
    height:           number;
    home:             boolean;
    id:               string;
    is_replaced:      boolean;
    last_version_num: number;
    lat:              any[];
    latest_version:   string;
    layout_data:      string;
    name:             string;
    order:            number;
    pinyinname:       string;
    position_x:       number;
    position_y:       number;
    positions:        any[];
    pre:              any[];
    share_id:         string;
    sketch_id:        string;
    source:           boolean;
    text_scale:       null;
    trash_recovery:   boolean;
    type:             string;
    update_time:      Date;
    url:              string;
    user_id:          string;
    user_in_project:  boolean;
    versions:         Version[];
    width:            number;
}

export interface Version {
    id:                  string;
    type:                string;
    height:              number;
    width:               number;
    create_time:         string;
    version_info:        string;
    url:                 string;
    json_url:            string;
    d2c_url:             null;
    url_md5:             string;
    json_md5:            string;
    version_layout_data: string;
    md5:                 null;
    updated:             boolean;
    editor_info:         EditorInfo;
    comments:            any[];
}

export interface EditorInfo {
    nickname: string;
    avatar:   string;
    color:    string;
}
